package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 mac
 * 
 * @author ruoyi
 * @date 2021-11-12
 */
public class Mac extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 员工号 */
    @Excel(name = "员工号")
    private Long userId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String userName;

    /** 原Mac地址 */
    @Excel(name = "原Mac地址")
    private String previousMac;

    /** 现Mac地址 */
    @Excel(name = "现Mac地址")
    private String currentMac;

    /** 终端类型 */
    @Excel(name = "终端类型")
    private String clientType;

    /** AD分组 */
    @Excel(name = "AD分组")
    private String adGroup;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    /** 部门 */
    @Excel(name = "部门")
    private String department;

    /** 分行 */
    @Excel(name = "分行")
    private String branch;

    /** 所在地 */
    @Excel(name = "所在地")
    private String area;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPreviousMac(String previousMac) 
    {
        this.previousMac = previousMac;
    }

    public String getPreviousMac() 
    {
        return previousMac;
    }
    public void setCurrentMac(String currentMac) 
    {
        this.currentMac = currentMac;
    }

    public String getCurrentMac() 
    {
        return currentMac;
    }
    public void setClientType(String clientType) 
    {
        this.clientType = clientType;
    }

    public String getClientType() 
    {
        return clientType;
    }
    public void setAdGroup(String adGroup) 
    {
        this.adGroup = adGroup;
    }

    public String getAdGroup() 
    {
        return adGroup;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setBranch(String branch) 
    {
        this.branch = branch;
    }

    public String getBranch() 
    {
        return branch;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("previousMac", getPreviousMac())
            .append("currentMac", getCurrentMac())
            .append("clientType", getClientType())
            .append("adGroup", getAdGroup())
            .append("comment", getComment())
            .append("department", getDepartment())
            .append("branch", getBranch())
            .append("area", getArea())
            .toString();
    }
}
